package com.tl.app.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tl.common.annotation.Excel;
import com.tl.common.core.domain.BaseEntity;

/**
 * 用户提现对象 app_account_access
 * 
 * @author suhp
 * @date 2024-07-07
 */
public class AppAccountAccess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;
    
    /**
     * 提现编号
     */
    private String code;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private String price;

    /** 状态(dsh:待审核,ybh:已驳回,txz:提现中,ywc:已完成) */
    @Excel(name = "状态(dsh:待审核,ybh:已驳回,txz:提现中,ywc:已完成)")
    private String status;
    
    
    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    
    public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("price", getPrice())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
